<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:cf="http://chartfaces.org/chart">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=ISO-8859-1" />
<link rel="shortcut icon" href="chartfaces.ico" />
<title>ChartFaces Demo - Horizontal Bar Chart</title>
</head>
<body>
<div align="center">
<h4 style="color:darkred">#{carbon.header}</h4>
<div>
<cf:bar topPadding="60" bottomPadding="60"
	width="432pt" height="324pt" orientation="horizontal"
	settings="#{carbon.chartSettings}">
<cf:barset axesIds="carbon" value="#{carbon.emissionValues}"/>
<cf:xaxis id="carbon" position="top" min="0" max="52000"
	value="#{carbon.emissionLabelAmounts}"
	caption="Million tons of carbon" gridLineDensity="2"/>
<cf:barset axesIds="population" value="#{carbon.populations}"/>
<cf:xaxis id="population" min="0" max="1400"
	value="#{carbon.populationLabelAmounts}" caption="Population in millions"/>
<cf:yaxis width="180" label="#{carbon.countryLabels}" tickHeight="0"/>
<cf:yaxis width="80" position="right" tickHeight="0"/>
</cf:bar>
</div>
</div>
</body>
</html>